package com.xuliugen.springboot.keng;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;


public class ConfigurationA {
    @Autowired
    public BeanB beanB;

    @Bean
    public BeanA beanA() {
        return new BeanA();
    }

    public ConfigurationA(){
        System.out.println("ConfigurationA");
    }
}